﻿using System.Web.Routing;

namespace System.Web.Mvc
{
	public static class ProgressExtensions
	{
		public static MvcHtmlString Progress(this HtmlHelper helper, object htmlAttributes)
		{
			var builder = new TagBuilder("div");
			builder.MergeAttributes(new RouteValueDictionary(htmlAttributes));

			return MvcHtmlString.Create(builder.ToString());
		}
	}
}